package com.aspose.cells;

class zzh extends zyr {
   private zyi a;
   private int b;

   public zzh(int var1, zyi var2) {
      this.a = var2;
      this.b = var1;
   }

   public int b() {
      return 13;
   }

   public Object c() {
      return this.a;
   }

   public zyi k() {
      return this.a;
   }

   public Object b(zaay var1) {
      return this.e(var1).b(var1);
   }

   public int d() {
      return 32;
   }

   public byte a() {
      return -1;
   }

   public zyy a(zaay var1, int var2) {
      return this.e(var1).a(var1, var2);
   }

   public zaam i(zaay var1) {
      return this.e(var1).i(var1);
   }

   public zyv j(zaay var1) {
      return this.e(var1).j(var1);
   }

   public zagu e(zaay var1) {
      if (var1.p.Q.h && this.a.d(var1)) {
         zaay var2 = new zaay(var1);
         if (var2.n != this.b) {
            var2.a(var1.p.g.get(this.b));
         }

         this.a.b(var2);
      }

      return this.a.n();
   }

   public zagu d(zaay var1) {
      return this.e(var1);
   }

   public boolean f() {
      return false;
   }

   public zagu a(int[] var1, zaay var2, boolean var3) {
      var1[0] = 1;
      var1[1] = 1;
      return this.e(var2);
   }

   public zahn a(zaay var1, boolean var2) {
      return new zaya(this.e(var1));
   }

   public boolean c(zaay var1, boolean var2) {
      return this.a.c() == 2;
   }

   public void a(StringBuilder var1, zaay var2) {
      if (var2 != null) {
         var1.append(var2.p.g.get(this.b).getName());
         var1.append("!");
         if (var2.c) {
            var1.append(CellsHelper.cellIndexToName(this.a.e, this.a.f));
         } else {
            var1.append('R');
            var1.append(this.a.e + 1);
            var1.append('C');
            var1.append(this.a.f + 1);
         }
      } else {
         var1.append("Sheet[");
         var1.append(this.b);
         var1.append("]!");
         var1.append(CellsHelper.cellIndexToName(this.a.e, this.a.f));
      }

   }
}
